The Reaction of Open-Source Projects to New Language Features: An Empirical Study of C# Generics
نویسندگان
چکیده
Language designers introduce new language features in programming languages because those features are claimed to be bene cial. In this paper, we investigate claims made about the generics language feature, and compare how those claims stack up in C# versus Java. Through an empirical study of the generics feature in open-source projects, we found that (1) although they have the same claimed bene ts in di erent programming languages, generics are more readily used in C# than in Java and that the bene ts of generics are manifested more clearly in C# programs, and (2) programmers rarely use the var keyword with generics, except when using very long generic expressions, suggesting that programmers prefer readability over succinct syntax, as long as the syntax does not become overly verbose. Many of these observed di erences may be attributed to subtle di erences in implementation and are consistent with the notion that crafting the user experience of a programming language feature can impact how the feature is adopted and embraced by developers.
منابع مشابه
The new empirical formula to estimate the uniaxial compressive strength of limestone; south west of Tehran-Iran, as a case study
In many rock engineering projects, accurate identification of rock strength properties is very important. Uniaxial compressive strength is one of the most important features to describe the resistive behavior of rocks which is used as an important parameter in the design of structures especially underground openings. Determination of this parameter using direct methods, including uniaxial compr...
متن کاملAn Empirical Study of Object Protocols in the Wild
An active area of research in computer science is the prevention of violations of object protocols, i.e., restrictions on temporal orderings of method calls on an object. However, little is understood about object protocols in practice. This paper describes an empirical study of object protocols in some popular open-source Java programs. In our study, we have attempted to determine how often ob...
متن کاملروند جهانی در سنجش سرمایه اجتماعی: اثرپذیری از حوزه سیاستگذاری اجتماعی
The economists and social scientists of the 20th century were very much concerned with the clarification of the observed differences among countries in terms of economic development. But even later, with the introduction of advanced analytical instruments, the above-mentioned task was not realized. Moreover, the professionals who were practically involved with the development projects came to t...
متن کاملCode-Copying in the Balochi Language of Sistan
This empirical study deals with language contact phenomena in Sistan. Code-copying is viewed as a strategy of linguistic behavior when a dominated language acquires new elements in lexicon, phonology, morphology, syntax, pragmatic organization, etc., which can be interpreted as copies of a dominating language. In this framework Persian is regarded as the model code which provides elements for b...
متن کاملA Large-scale Empirical Study of Java Language Feature Usage
Programming languages evolve over time, adding additional language features to simplify common tasks and make the language easier to use. For example, the Java Language Specification has four editions and is currently drafting a fifth. While the addition of language features is driven by an assumed need by the community (often with direct requests for such features), there is little empirical e...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- Journal of Object Technology
دوره 12 شماره
صفحات -
تاریخ انتشار 2013